package com.py.pythink.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@TableName("t_usersend")
@NoArgsConstructor
public class UserSend {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer uid;
    private String info;
    private Integer type;
   //用户名字：根据uid来和用户详情表找到本人的名称
    private Date ctime;
    private Integer flag;
    private String nickname;
    private Integer count;//点赞数
    private List<UserCommen> children;

}
